// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
import QtQuick 1.1

CharacterBase{
    width: 5
    height: 10
    color: "#00aaaaaa"

    Image{
        anchors.centerIn: parent
        fillMode: Image.PreserveAspectCrop
        source: "./images/enemy_bullet.png"
    }

    function init(obj){
        _anim.start();
    }

    function move(){
    }

    NumberAnimation on y{
        id: _anim
        to: fieldHeight + height + y
        duration: 2000
        running: false
    }

    function resumeAnimation(){
        _anim.restart();
    }
    function pauseAnimation(){
        _anim.pause();
    }
}
